$(function(){

    $(".login-btn").click(function () {
        var mobile = $("#mobile").val();
        var passowrd = $("#password").val();
        if(mobile == null || mobile.trim() == ''){
            alert("手机号不能为空！");
            return;
        }
        if(passowrd == null || passowrd.trim() == ''){
            alert("密码不能为空！")
            return;
        }
        var obj = {};
        obj.mobile = mobile;
        obj.password = passowrd;
        var data = doAjaxAll(login_url, obj);
        if(data.code == 1){
            location.href = expense_apply_html;
        }
    });
});